package com.gxa.xiaoucomeshome.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 万骞
 * @date 2022-06-07
 */
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Courier implements Serializable {
    @ApiModelProperty(name = "phone",value = "配送员手机号",dataType = "String",required = true)
    private String phone;
    @ApiModelProperty(name = "password",value = "配送员登录密码",dataType = "String",required = true)
    private String password;
    @ApiModelProperty(name = "name",value = "配送员姓名",dataType = "String",required = true)
    private String coname;
    @ApiModelProperty(name = "gender",value = "配送员性别",dataType = "String",required = true)
    private String gender;
    @ApiModelProperty(name = "age",value = "配送员年龄",dataType = "int",required = true)
    private Integer age;
    @ApiModelProperty(name = "vehicle",value = "配送员交通工具",dataType = "String",required = true)
    private String vehicle;
    @ApiModelProperty(name = "drivingPermit",value = "配送员行驶证号",dataType = "String",required = true)
    private String drivingPermit;
    @ApiModelProperty(name = "IDCard",value = "配送员身份证号",dataType = "String",required = true)
    private String idCard;
    @ApiModelProperty(name = "drivingLicense",value = "配送员驾驶证号",dataType = "String",required = true)
    private String drivingLicense;
    @ApiModelProperty(name = "source",value = "配送员来源",dataType = "String",required = true)
    private String source;
    @ApiModelProperty(name = "source",value = "配送员是否冻结",dataType = "Integer")
    private Integer isFreeze;
    @ApiModelProperty(name = "source",value = "配送员状态",dataType = "Integer")
    private Integer state;
}
